add_executable(async_test async_test.cpp)
add_executable(backtrace_test backtrace_test.cpp)

set(UTILS_TESTS
    async_test
    backtrace_test
)

foreach(T ${UTILS_TESTS})
    target_link_libraries(
        ${T}
            PRIVATE
                spark-utils
                Threads::Threads
    )
    set_target_properties(
        ${T}
        PROPERTIES
            RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/utils_test"
    )
endforeach()